package com.example.sociamedia.user.controller;

import com.example.sociamedia.user.dto.*;
import org.springframework.web.bind.annotation.RequestBody;


public interface UserApi {
    UserResponse registerUser(UserRequest userRequest);
    UserResponse getUserProfile(Long userid);
    void updateUserProfile(Long userid, UserRequest userRequest);
    void changePassword(Long userid, String oldPassword, String newPassword);
    LoginResponse userLogin(LoginRequest loginRequest);
    void logout(LogoutRequest logoutRequest);

}